const mysql = require('mysql2');
const db_config = require('./db-config');
const dbPool = mysql.createPool(db_config);
const db = dbPool.promise();
module.exports = db